<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul class="nav" th:fragment="detail">
    <p style="font-size: 18px;margin-left: 20px">我的发布
       <a style="text-decoration: none" href=""><span style="color: gray;font-size: 18px" th:text="'('+${count}+')'"></span></a>
    </p>
    <li style="float: left;margin-top: 30px;margin-left: 50px" th:each="fd:${food}">
        <img width="200" height="200" th:src="${fd.image}">
        <p style="text-align: center" th:text="${fd.title}"></p>
    </li>
</ul>
</body>
</html>